package com.jlnk.rxjavademo2.entity;

import com.google.gson.annotations.SerializedName;
import java.util.List;

public class NetworkHotEntity {
    @SerializedName("error_code")
    private int errorCode;

    @SerializedName("reason")
    private String reason;

    @SerializedName("result")
    private Result result;

    public int getErrorCode() {
        return errorCode;
    }

    public String getReason() {
        return reason;
    }

    public Result getResult() {
        return result;
    }

    public static class Result {
        @SerializedName("list")
        private List<Item> list;

        public List<Item> getList() {
            return list;
        }

        public static class Item {
            @SerializedName("title")
            private String title;

            @SerializedName("hotnum")
            private int hotnum;

            @SerializedName("digest")
            private String digest;

            public String getTitle() {
                return title;
            }

            public int getHotnum() {
                return hotnum;
            }

            public String getDigest() {
                return digest;
            }
        }
    }
}